M = {}
local gps = require("nvim-gps")

local function gps_setup()
  gps.setup({
  	icons = {
  		["class-name"] = ' ',      -- Classes and class-like objects
  		["function-name"] = ' ',   -- Functions
  		["method-name"] = ' '      -- Methods (functions inside class-like objects)
  	},
  	-- Disable any languages individually over here
  	-- Any language not disabled here is enabled by default
  	languages = {
  		-- ["bash"] = false,
  		-- ["go"] = false,
  	},
  	separator = ' > ',
  })
end

function M.setup()
  gps_setup()
  require("lualine").setup({
	sections = {
			lualine_c = {
				{ gps.get_location, condition = gps.is_available },
			}
	}
})
end

return M
